import Layout from '@/layout'

export default {
  path: '/staff',
  component: Layout,
  name: 'staff',
  redirect: '/branches/operational-range',
  meta: { title: '员工管理', icon: 'el-icon-s-help' },
  children: [
    {
      path: '/branches/operational-range',
      name: 'operational-range',
      component: () => import('@/views/staff/operational-range'),
      meta: { title: '快递员管理' }
    },
    {
      path: '/transit/driver',
      name: 'driver',
      component: () => import('@/views/staff/driver'),
      meta: { title: '司机管理' }
    },
    {
      path: '/transit/workArrange-manage',
      name: 'workArrange-manage',
      component: () => import('@/views/staff/workArrange-manage'),
      meta: { title: '排班管理' }
    }
  ]
}
